package o;

import java.io.Serializable;

public class fzp implements Serializable, Cloneable {
    static final /* synthetic */ boolean ˏ = (!fzp.class.desiredAssertionStatus());
    public float ˊ;
    public float ॱ;

    public /* synthetic */ Object clone() throws CloneNotSupportedException {
        return ॱॱ();
    }

    public fzp() {
        this(0.0f, 0.0f);
    }

    public fzp(float f, float f2) {
        this.ˊ = f;
        this.ॱ = f2;
    }

    public fzp(fzp o_fzp) {
        this(o_fzp.ˊ, o_fzp.ॱ);
    }

    public final void ˊ() {
        this.ˊ = 0.0f;
        this.ॱ = 0.0f;
    }

    public final fzp ˎ(float f, float f2) {
        this.ˊ = f;
        this.ॱ = f2;
        return this;
    }

    public final fzp ॱ(fzp o_fzp) {
        this.ˊ = o_fzp.ˊ;
        this.ॱ = o_fzp.ॱ;
        return this;
    }

    public final fzp ˎ() {
        this.ˊ = -this.ˊ;
        this.ॱ = -this.ॱ;
        return this;
    }

    public final fzp ˏ(fzp o_fzp) {
        this.ˊ += o_fzp.ˊ;
        this.ॱ += o_fzp.ॱ;
        return this;
    }

    public final fzp ˎ(fzp o_fzp) {
        this.ˊ -= o_fzp.ˊ;
        this.ॱ -= o_fzp.ॱ;
        return this;
    }

    public final fzp ˊ(float f) {
        this.ˊ *= f;
        this.ॱ *= f;
        return this;
    }

    public final float ˋ() {
        return fzm.ʼ((this.ˊ * this.ˊ) + (this.ॱ * this.ॱ));
    }

    public final float ˏ() {
        return (this.ˊ * this.ˊ) + (this.ॱ * this.ॱ);
    }

    public final float ॱ() {
        float ˋ = ˋ();
        if (ˋ < 1.1920929E-7f) {
            return 0.0f;
        }
        float f = 1.0f / ˋ;
        this.ˊ *= f;
        this.ॱ = f * this.ॱ;
        return ˋ;
    }

    public final boolean ʻ() {
        return (Float.isNaN(this.ˊ) || Float.isInfinite(this.ˊ) || Float.isNaN(this.ॱ) || Float.isInfinite(this.ॱ)) ? false : true;
    }

    public final fzp ॱॱ() {
        return new fzp(this.ˊ, this.ॱ);
    }

    public final String toString() {
        return "(" + this.ˊ + "," + this.ॱ + ")";
    }

    public static final float ˎ(fzp o_fzp, fzp o_fzp2) {
        return (o_fzp.ˊ * o_fzp2.ˊ) + (o_fzp.ॱ * o_fzp2.ॱ);
    }

    public static final float ॱ(fzp o_fzp, fzp o_fzp2) {
        return (o_fzp.ˊ * o_fzp2.ॱ) - (o_fzp.ॱ * o_fzp2.ˊ);
    }

    public static final void ˏ(fzp o_fzp, float f, fzp o_fzp2) {
        if (ˏ || o_fzp2 != o_fzp) {
            o_fzp2.ˊ = o_fzp.ॱ * f;
            o_fzp2.ॱ = (-f) * o_fzp.ˊ;
            return;
        }
        throw new AssertionError();
    }

    public static final void ˎ(float f, fzp o_fzp, fzp o_fzp2) {
        if (ˏ || o_fzp2 != o_fzp) {
            o_fzp2.ˊ = (-f) * o_fzp.ॱ;
            o_fzp2.ॱ = o_fzp.ˊ * f;
            return;
        }
        throw new AssertionError();
    }

    public int hashCode() {
        return ((Float.floatToIntBits(this.ˊ) + 31) * 31) + Float.floatToIntBits(this.ॱ);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        fzp o_fzp = (fzp) obj;
        if (Float.floatToIntBits(this.ˊ) != Float.floatToIntBits(o_fzp.ˊ)) {
            return false;
        }
        if (Float.floatToIntBits(this.ॱ) != Float.floatToIntBits(o_fzp.ॱ)) {
            return false;
        }
        return true;
    }
}
